
cd "C:\Users\jbader2\surfdrive\quantitative analysis\party\ISQ\"

use ".\data text analysis.dta"

label var onechinapolicy "One China"
label var chinesedream "Chinese Dream"
label var harmoniousworld "Harmonious World"
label var peacefulrisedevelopment "Peaceful Rise / Development"

**TERRITORIALITY
 ***Fig above
graph bar (asis) tibet xinjiang  ///
, over(year, relabel(1 "2002" 2 " " 3 " " 4 " " 5 " " 6 "2007" 7 " " 8 " " 9 " " 10 " " 11 "2012 "  12 " " 13 " " 14 " " 15 " " 16 "2017" )) ///
 scheme(s1manual) ytitle(Number of times  mentioned)
graph save ".\ca tibet xinjiang.gph", replace

*** Fig 6 below
graph bar (asis) onechinapolicy southchinasea  ///
, over(year, relabel(1 "2002" 2 "               " 3 "    " 4 "    " 5 "    " 6 "2007" 7 "    " 8 "    " 9 "    " 10 "    " 11 "2012"  12 "    " 13 "    " 14 "    " 15 "    " 16 "2017" )) ///
scheme(s1manual) ytitle(Number of times  mentioned)
graph save ".\ca onechina southchina.gph"

 graph combine ".\ca tibet xinjiang.gph" ".\ca onechina southchina.gph" ,rows(2)

 
 ***CONCEPTS: HU XI
*** Small scale large scale
graph bar (asis) peacefulrisedevelopment harmoniousworld chinesedream ///
, over(year, relabel(1 "2002" 2 " " 3 " " 4 " " 5 " " 6 "2007" 7 " " 8 " " 9 " " 10 " " 11 "2012 "  12 " " 13 " " 14 " " 15 " " 16 "2017" )) ///
 scheme(s1manual) ytitle(Number of times  mentioned)
graph save ".\ca peacefulrise.gph",

**LARGE scale
graph bar (asis) beltandroad  ///
, over(year, relabel(1 "2002" 2 "               " 3 "    " 4 "    " 5 "    " 6 "2007" 7 "    " 8 "    " 9 "    " 10 "    " 11 "2012"  12 "    " 13 "    " 14 "    " 15 "    " 16 "2017" )) ///
scheme(s1manual) ytitle(Number of times  mentioned)
graph save ",\ca beltandroad.gph"
 graph combine "C:\Users\jbader2\Desktop\ISQ\ca peacefulrise2.gph" "C:\Users\jbader2\Desktop\ISQ\ca beltandroad.gph" ,rows(2)

 **LEARNING
graph bar (asis) learn ///
, over(year, relabel(1 "2002" 2 " " 3 " " 4 " " 5 " " 6 "2007 " 7 " " 8 " " 9 " " 10 " " 11 "2012"  12 " " 13 " " 14 " " 15 " " 16 "2017"  ))  scheme(s1manual) ytitle(Number of times  mentioned)
graph save "C:\Users\jbader2\Desktop\ISQ\ca learning.gph"
 